package controlador;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import vista.VCorredor;

public class CVCorredor implements ActionListener {
	private VCorredor vCorredor;

	public CVCorredor() {
		super();
		this.vCorredor = new VCorredor();
		this.vCorredor.AgregarListenerCorredor(this);
		this.vCorredor.setVisible(true);
		
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		vCorredor.dispose();
		
	}

}
